import { createApp } from 'vue'

// import App from './App.vue'
// import App from './render_function/App.vue'
// import App from './render_function/Counter.vue'

// import App from './Jsx/App.vue'

// import App from './Custom_Instruction/App.vue'

import App from './teleport/App.vue'
// 格式化时间戳
import registerDirectives from './directives';
// 插件
import pluginObject from './plugins/plugins_object'
import pluginFunction from './plugins/plugins_function'


// createApp(App).mount('#app')
const app = createApp(App);

registerDirectives(app);

app.use(pluginObject);
app.use(pluginFunction);
  

// 自定义全局指令
// app.directive('focus', {
//     mounted(el, bindings, vnode, preVNode) {
//         console.log('focus mounted');
//             el.focus();
//         }
//     }
// )

app.mount('#app');

